﻿using System;
using System.Runtime.Serialization;
using System.ServiceModel;
//Made by Mikkel & Lasse
namespace DataTier
{
    [ServiceContract]
    public interface ICustomers
    {
        [OperationContract]
        void AddCustomer(string phoneNum, string name, string address, string zipCode, string email, string edu, DateTime birthday, string interests, string sex);
        System.Collections.Generic.List<Customer> customers { get; set; }
        [OperationContract] 
        void DeleteCustomer(Customer c);
        [OperationContract] 
        void DeleteCustomer(string phoneNum);
        [OperationContract]
        Customer FindCustomer(string phoneNum);
        [OperationContract] 
        void UpdateCustomer(string phoneNum, string name, string address, string zipCode, string email, string edu, DateTime birthday, string interests, string sex);
    }
}
